Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions Test for ci.common 33-SNAPSHOT #1805

Closed
wants to merge 4 commits into from

Conversation

dshimo
Copy link
Contributor

@dshimo dshimo commented Mar 12, 2024

Constructor for ServerConfigDocument to be deprecated

@cherylking
Copy link
Member

So are you going to change LMP to use the new constructor that doesn't take all the parameters?

@@ -394,6 +395,14 @@ protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File s
return scd;
}

protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File serverXML, Map<String, File> libertyDirPropertyFiles) throws IOException {
if (scd == null || !scd.getServerXML().getCanonicalPath().equals(serverXML.getCanonicalPath())) {
scd = new ServerConfigDocument(log, libertyDirPropertyFiles);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is interesting. Is this because of how our tests are setup/run that this is necessary? Also, I see all builds failing. Do you know the cause? I'm not going to dive into the logs at this point and try to figure it out myself.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are passing in latest run, but I would still like to understand this change and why it was necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic was introduced by this PR, which was on the subject of thread safety. I think the move from static makes this piece not necessary.

@cherylking
Copy link
Member

This was superseded by #1843.

@cherylking cherylking closed this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants